apt-get install alsa-base alsa-oss alsa-tools alsa-utils soundmodem
mkdir -p /etc/ax25
touch /etc/ax25/soundmodem.conf
echo '<?xml version="1.0"?>
<modem>
  <configuration name="alp">
    <channel name="Channel 0">
      <mod mode="afsk" bps="1200" f0="1200" f1="2200" diffenc="1"/>
      <demod mode="afsk" bps="1200" f0="1200" f1="2200" diffdec="1"/>
      <pkt mode="MKISS" ifname="sm8" hwaddr="SA0BXI-8" ip="10.0.0.8" netmask="255.255.255.0" broadcast="10.0.0.255" file="/dev/soundmodem0" unlink="1"/>
    </channel>
    <chaccess txdelay="400" slottime="100" ppersist="40" fulldup="0" txtail="10"/>
    <audio type="alsa" device="plughw:1,0" halfdup="1" capturechannelmode="Mono"/>
    <ptt file="/dev/ttyUSB0" gpio="0"/>
  </configuration>
</modem>' > /etc/ax25/soundmodem.conf
touch /etc/ax25/axports
echo '# /etc/ax25/axports
#
# The format of this file is:
#
# name callsign speed paclen window description
#
axport8	SA0BXI-8	1200	255	32 144.8 MHz APRS (1200 bps)
' > /etc/ax25/axports
ln -s /etc/ax25/axports ~/axports
ln -s /etc/ax25/soundmodem.conf ~/soundmodem.conf